package com.owulia.coffee.repository.redis;

import com.owulia.coffee.entity.redis.CoffeeRedis;
import org.springframework.data.repository.CrudRepository;

import java.util.Optional;

public interface CoffeeRedisRepository extends CrudRepository<CoffeeRedis,Long>{
    Optional<CoffeeRedis> findOneByName(String name);
}
